import useaxios from "../utils";
/**
 * @abstract 添加数据
 * @author 我自己
 */
export function getvalue(){
    return useaxios({
        method: "get",
        url: "/todolist"
      })
}
/**
 * @abstract 删除数据
 * @param {传入的id} id 
 * @returns number
 */
export  function delvalue(id){
 return   useaxios({
        method: "delete",
        url: `/todolist/${id}`
      })
}

/**
 * @abstract 删除勾选的数据
 */

function delall(){

}